package Car;

public class Benchi extends Car {
    private String name;
    private String color;
    private String number;
    public Benchi(String name,String color,String number){
        super(name,color,number);
        this.name=name;
        this.color=color;
        this.number=number;
    }
    public void fire(Check s){
        System.out.println(s.getName()+"操控"+name+"进行了启动测试。");
    }
    public void speedUp(Check s){
        System.out.println(s.getName()+"操控"+name+"进行了加速测试。");
    }
    public void stop(Check s){
        System.out.println(s.getName()+"操控"+name+"进行了刹车测试。");
    }
}
